package edu.neusoft.yiqibike.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Set;

/**
 * @author YooLin1c
 * @version 1.0.0
 * @since 2018-04-17 18:26
 */
@Mapper
public interface TestMapper {
    @Select("select table_name from information_schema.tables where table_schema in ('linyicong','management')")
    Set<String> getDataBases();
    @Select("select column_comment from information_schema.columns\n" +
            "        where table_name = 't_apply' and table_schema = 'linyicong' order by ordinal_position")
    List<String> getDataInfo();
}
